<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>        
<script id="mainVote" type="text/html">
		<input type="hidden" id="id" value="{{id}}"></input>
		<input type="hidden" id="projectId" value="{{projectId}}"></input>
		<input type="hidden" id="establishStr" value="{{establishStr}}"></input>
        <div class="container-fluid">
            <div id="pad-wrapper" class="form-page">
                <div class="row-fluid form-wrapper">					
                    <!-- left column -->
                    <div class="span8 column">
                        <form>
                            <div class="field-box">
                                <label>项目名称:</label>
                                <input class="span8" type="text" id="name"/>
                            </div>
                            <div class="field-box">
                                <label>项目简称:</label>
                                <input class="span8" type="text" id="shortName"/>
                            </div>
                            <div class="field-box">
                                <label>代码:</label>
                                <input class="span8" type="text" id="code"/>
                            </div>
                            <div class="field-box">
                                <label>发行量（元）:</label>
                                <input class="span8" type="text" id="collect"/>
                            </div>
                            <div class="field-box">
                                <label>年收益率（%）:</label>
                                <input class="span8" type="text" id="rate"/>
                            </div>
                            <div class="field-box">
                                <label>付息次数:</label>
                                <input class="span8" type="text" id="paynumber"/>
                            </div>
                            <div class="field-box">
                                <label>信用评级:</label>
                                <input class="span8" type="text" id="credit"/>
                            </div>
                            <div class="field-box">
                                <label>存续期（月）:</label>
                                <input class="span8" type="text" id="duration"/>
                            </div>
                            <div class="field-box">
                                <label>兑付日:</label>
                                <input class="span8" type="text" id="payDay"/>
                            </div>
                            <div class="field-box">
                                <label>兑付月:</label>
                                <input class="span8" type="text" id="payMonth"/>
                            </div>
							<div class="field-box">
                                <label></label>
								<a class="btn-flat primary" onclick="saveSubProject()">提交</a>
                            </div> 
                        </form>
                    </div>

                    <!-- right column -->
                    <div class="span4 column pull-right">
						<form>
                            <div class="field-box">
                                <label>起息日（产品成立日）:</label>
                                <input id="interestdate" type="text" value="" class="input-large datepicker" />
                            </div>
                            <div class="field-box">
                                <label>评级日期:</label>
                                <input id="ratingDate" type="text" value="" class="input-large datepicker" />
                            </div>
                            <div class="field-box">
                                <label>到期日:</label>
                                <input id="expirydate" type="text" value="" class="input-large datepicker" />
                            </div>
						</form>		
                         <form>
                            <div class="field-box">
                                <label>利息种类:</label>
                                <select style="width:250px" class="select2" id="interesttype">
                                    <option />
                                    <option value="0">固定利率</option>
                                    <option value="1">浮动利率</option>
                                    <option value="2">无利率</option>
                                </select>
                            </div>  
                            <div class="field-box">
                                <label>付息方式:</label>
                                <select style="width:250px" class="select2" id="paytype">
                                    <option />
                                    <option value="0">按月付息</option>
                                    <option value="1">按季付息</option>
                                    <option value="2">按年付息</option>
									<option value="3">优先级本息偿付完毕后付息</option>
									<option value="4">到期一次还本付息</option>
                                </select>
                            </div> 
                            <div class="field-box">
                                <label>评级机构:</label>
                                <select style="width:250px" class="select2" id="ratingId">
                                    <option />
                                </select>
                            </div>
                            <div class="field-box">
                                <label>是否转让:</label>
                                <select style="width:250px" class="select2" id="isTrade">
                                    <option />
                                    <option value="0">否</option>
                                    <option value="1">是</option>
                                </select>
                            </div>
                        </form>			
                    </div>
                </div>
            </div>
        </div>
	</script>
</body>
